﻿/*
* Created By @ Dzung.NguyenManh    
* Created Date: 
* Email:Dzung.nguyenmanh@gmail.com
* Modidy Date:
* Compayny : MITC.co
* Address:
*/
namespace Mitc.Portal.Services.Configuration.Menuconfg
{
    #region -----------------refer-----------------------
    using System;
    using System.Linq;
    using MITC.Portal.Core.Entitys.Configuration.MenuConfg;
    using Microsoft.SharePoint;
    using System.Collections.Generic;
    #endregion

    public interface IMenuConfig
    {
        #region -----------------CRUD-----------------------
        void CreateMenu(MenuEntity menu);
        void UpdateMeu(MenuEntity menu);
        void DeleteMenu(int menuId);
        MenuEntity GetMenuById(int id);
        List<MenuEntity> GetMenu(SPWeb rootweb);        
        #endregion

    }
}
